<html>
<head>
</head>
<body>
    <div id="div1" data-lable="code">
        
    </div>
    
    <script type="text/javascript" src='https://cdn.jsdelivr.net/npm/wangeditor@latest/dist/wangEditor.min.js'></script>
    
    <!-- 引入 wangEditor.min.js -->
    <script type="text/javascript">
        const E = window.wangEditor
        const editor = new E('#div1')
        editor.create()
    </script>
</body>